import java.time.LocalDateTime;

public class Thoroughbred {

    public Thoroughbred() {
    }

    private Thoroughbred mother;

    private Thoroughbred father;

    private int birthyear;

    public int getCurrentAge() {
        int currentYear = LocalDateTime.now().getYear();
        return currentYear - birthyear;
    }

    public Thoroughbred getFather() {
        return father;
    }

    public Thoroughbred getMother() {
        return mother;
    }

}